﻿using SpeakToMe.Core.Enums;
using SpeakToMe.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SpeakToMe.Core.Interfaces
{
    //Interface to be implmented by the class providing user data to the system
    public interface IUserData
    {
        User GetUserById(int id);
        User CreateUser(string userName, string firstName, string lastName, string password);
        Conversation CreateConversation(int userId, ConversationType type, string address);
        ConversationHistory AddConversationHistory(int conversationId, string text, string tagString, string tagType, bool userInitiated);
        Conversation GetConversation(int userId, ConversationType type, string address);
        List<ConversationHistory> GetConversationHistory(int conversationId);
    }
}
